package com.plpm.common.constant;

/**
 * 系统常量定义
 */
public class Constants {
    /**
     * 部署状态
     */
    public static class DeployStatus {
        public static final String PENDING = "PENDING"; // 等待部署
        public static final String RUNNING = "RUNNING"; // 部署中
        public static final String SUCCESS = "SUCCESS"; // 部署成功
        public static final String FAILED = "FAILED"; // 部署失败
        public static final String ROLLBACK = "ROLLBACK"; // 回退中
    }

    /**
     * 服务状态
     */
    public static class ServiceStatus {
        public static final String RUNNING = "RUNNING"; // 运行中
        public static final String STOPPED = "STOPPED"; // 已停止
        public static final String STARTING = "STARTING"; // 启动中
        public static final String STOPPING = "STOPPING"; // 停止中
    }
}